<?php
/* --------------------------------------------------------------- *
 *        WARNING: ALL CHANGES IN THIS FILE WILL BE LOST
 *
 *   Source language file: C:\Web\WebData\scripts\fshl\fshl-0.4.11\fshl/lang/PHP_lang.php
 *       Language version: 1.25 (Sign:SHL)
 *
 *            Target file: C:\Web\WebData\scripts\fshl\fshl-0.4.11\fshl/fshl_cache/PHP_lang.php
 *             Build date: Sat 26.3.2005 00:27:44
 *
 *      Generator version: 0.4.5
 * --------------------------------------------------------------- */
class PHP_lang
{
var $trans,$flags,$data,$delim,$class,$keywords;
var $version,$signature,$initial_state,$ret,$quit;
var $pt,$pti,$generator_version;
var $names;

function PHP_lang ()
{
	$this->version='1.25';
	$this->signature='SHL';
	$this->generator_version='0.4.5';
	$this->initial_state=0;
	$this->trans=array(0=>array(0=>array(0=>2,1=>0,),1=>array(0=>3,1=>0,),2=>array(0=>3,1=>0,),3=>array(0=>11,1=>0,),4=>array(0=>0,1=>0,),5=>array(0=>4,1=>0,),6=>array(0=>5,1=>0,),7=>array(0=>6,1=>0,),8=>array(0=>1,1=>-1,),9=>array(0=>7,1=>0,),),1=>array(0=>array(0=>10,1=>1,),),2=>array(0=>array(0=>10,1=>0,),1=>array(0=>2,1=>0,),),3=>array(0=>array(0=>10,1=>0,),1=>array(0=>10,1=>-1,),2=>array(0=>3,1=>0,),),4=>array(0=>array(0=>4,1=>0,),1=>array(0=>4,1=>0,),2=>array(0=>4,1=>0,),3=>array(0=>4,1=>0,),4=>array(0=>10,1=>1,),),5=>array(0=>array(0=>5,1=>0,),1=>array(0=>5,1=>0,),2=>array(0=>4,1=>0,),3=>array(0=>10,1=>0,),),6=>array(0=>array(0=>6,1=>0,),1=>array(0=>10,1=>0,),),7=>array(0=>array(0=>9,1=>0,),1=>array(0=>8,1=>0,),2=>array(0=>10,1=>1,),),8=>array(0=>array(0=>10,1=>1,),),9=>array(0=>array(0=>10,1=>1,),),11=>null,);
	$this->flags=array(0=>1,1=>5,2=>4,3=>4,4=>4,5=>4,6=>4,7=>4,8=>0,9=>0,11=>8,);
	$this->delim=array(0=>array(0=>'/*',1=>'//',2=>'#',3=>'?>',4=>'PHP_DELIM',5=>"\$",6=>"\"",7=>"'",8=>'ALPHA',9=>'NUMBER',),1=>array(0=>'!SAFECHAR',),2=>array(0=>'*/',1=>'_COUNTAB',),3=>array(0=>"\n",1=>'?>',2=>'_COUNTAB',),4=>array(0=>'->',1=>"\$",2=>'{',3=>'}',4=>'!SAFECHAR',),5=>array(0=>"\\\\",1=>"\\\"",2=>"\$",3=>"\"",),6=>array(0=>"\\'",1=>"'",),7=>array(0=>'x',1=>'NUMBER',2=>'!NUMBER',),8=>array(0=>'!NUMBER',),9=>array(0=>'!HEXNUM',),11=>null,);
	$this->ret=10;
	$this->quit=11;
	$this->names=array(0=>'OUT',1=>'FUNCTION',2=>'COMMENT',3=>'COMMENT1',4=>'VAR',5=>'QUOTE',6=>'QUOTE1',7=>'NUM',8=>'DEC_NUM',9=>'HEX_NUM',10=>'_RET',11=>'_QUIT',);
	$this->data=array(0=>null,1=>null,2=>null,3=>null,4=>null,5=>null,6=>null,7=>null,8=>null,9=>null,11=>null,);
	$this->class=array(0=>null,1=>null,2=>'php-comment',3=>'php-comment',4=>'php-var',5=>'php-quote',6=>'php-quote',7=>'php-num',8=>'php-num',9=>'php-num',11=>'xlang',);
	$this->keywords=array(0=>'php-keyword',1=>array('and'=>1,'or'=>1,'xor'=>1,'__FILE__'=>1,'__LINE__'=>1,'__CLASS__'=>1,'__METHOD__'=>1,'__FUNCTION__'=>1,'exception'=>1,'php_user_filter'=>1,'array'=>1,'as'=>1,'break'=>1,'case'=>1,'cfunction'=>1,'class'=>1,'const'=>1,'continue'=>1,'declare'=>1,'default'=>1,'die'=>1,'do'=>1,'echo'=>1,'else'=>1,'elseif'=>1,'empty'=>1,'enddeclare'=>1,'endfor'=>1,'endforeach'=>1,'endif'=>1,'endswitch'=>1,'endwhile'=>1,'eval'=>1,'exit'=>1,'extends'=>1,'for'=>1,'foreach'=>1,'function'=>1,'global'=>1,'if'=>1,'include'=>1,'include_once'=>1,'isset'=>1,'list'=>1,'new'=>1,'old_function'=>1,'print'=>1,'require'=>1,'require_once'=>1,'return'=>1,'static'=>1,'switch'=>1,'unset'=>1,'use'=>1,'var'=>1,'while'=>1,'define'=>1,'defined'=>1,'trigger_error'=>1,'TRACE'=>1,'trace'=>1,'ASSERT'=>1,'assert'=>1,),);
}

/* OUT */
function isd0 ()
{
$p=$this->pti;
$c1=$this->pt[$p++];
$c2=$c1.$this->pt[$p];
if($c2=='/*')
	return array(0,'/*');
if($c2=='//')
	return array(1,'//');
if($c1=='#')
	return array(2,'#');
if($c2=='?>')
	return array(3,'?>');
if(strchr(" \t\n\r;,:(){}[]!=%&|+-*/",$c1))
	return array(4,$c1);
if($c1=="\$")
	return array(5,"\$");
if($c1=="\"")
	return array(6,"\"");
if($c1=="'")
	return array(7,"'");
if(ctype_alpha($c1))
	return array(8,$c1);
if(ctype_digit($c1))
	return array(9,$c1);
return false;
}

/* FUNCTION */
function isd1 ()
{
$c1=$this->pt[$this->pti];
if(!(ctype_alnum($c1) || $c1=='_'))
	return array(0,$c1);
return false;
}

/* COMMENT */
function isd2 ()
{
$p=$this->pti;
$c1=$this->pt[$p++];
$c2=$c1.$this->pt[$p];
if($c2=='*/')
	return array(0,'*/');
if(stristr("\t\n",$c1))
	return array(1,$c1);
return false;
}

/* COMMENT1 */
function isd3 ()
{
$p=$this->pti;
$c1=$this->pt[$p++];
$c2=$c1.$this->pt[$p];
if($c1=="\n")
	return array(0,"\n");
if($c2=='?>')
	return array(1,'?>');
if(stristr("\t\n",$c1))
	return array(2,$c1);
return false;
}

/* VAR */
function isd4 ()
{
$p=$this->pti;
$c1=$this->pt[$p++];
$c2=$c1.$this->pt[$p];
if($c2=='->')
	return array(0,'->');
if($c1=="\$")
	return array(1,"\$");
if($c1=='{')
	return array(2,'{');
if($c1=='}')
	return array(3,'}');
if(!(ctype_alnum($c1) || $c1=='_'))
	return array(4,$c1);
return false;
}

/* QUOTE */
function isd5 ()
{
$p=$this->pti;
$c1=$this->pt[$p++];
$c2=$c1.$this->pt[$p];
if($c2=="\\\\")
	return array(0,"\\\\");
if($c2=="\\\"")
	return array(1,"\\\"");
if($c1=="\$")
	return array(2,"\$");
if($c1=="\"")
	return array(3,"\"");
return false;
}

/* QUOTE1 */
function isd6 ()
{
$p=$this->pti;
$c1=$this->pt[$p++];
$c2=$c1.$this->pt[$p];
if($c2=="\\'")
	return array(0,"\\'");
if($c1=="'")
	return array(1,"'");
return false;
}

/* NUM */
function isd7 ()
{
$c1=$this->pt[$this->pti];
if($c1=='x')
	return array(0,'x');
if(ctype_digit($c1))
	return array(1,$c1);
if(!ctype_digit($c1))
	return array(2,$c1);
return false;
}

/* DEC_NUM */
function isd8 ()
{
$c1=$this->pt[$this->pti];
if(!ctype_digit($c1))
	return array(0,$c1);
return false;
}

/* HEX_NUM */
function isd9 ()
{
$c1=$this->pt[$this->pti];
if(!ctype_xdigit($c1))
	return array(0,$c1);
return false;
}

}
?>